package adater;

public class Slf4jClient {
    public static void main(String[] args) {
//        Log4j log4j = new Log4j();
//        log4j.log4jLog("log4j打印日志");
//
//        LogBack logBack = new LogBack();
//        logBack.out("logBack打印日志");

        Sl4jAPI api = new Log4jSlf4jAdater(new Log4j());
        api.log("打印");

        Sl4jAPI api2 = new LogBackAdater(new LogBack());
        api2.log("打印");

    }
}
